]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Add some (element-type) annotations to appease g-i master
authorDan Winship <danw@gnome.org>
Tue, 30 Aug 2011 16:07:11 +0000 (12:07 -0400)
committerDan Winship <danw@gnome.org>
Tue, 30 Aug 2011 16:07:43 +0000 (12:07 -0400)
src/gvc/gvc-mixer-card.c
src/gvc/gvc-mixer-stream.c
src/shell-app.c

index 56502e3e4dce4ba4c95ce94f9679833acf3fe676..168bc7989f26cd4268291f8b1b17d9a84de7806c 100644 (file)
@@ -263,6 +263,11 @@ gvc_mixer_card_change_profile (GvcMixerCard *card,
         return TRUE;
 }
 
+/**
+ * gvc_mixer_card_get_profiles:
+ *
+ * Return value: (transfer none) (element-type GvcMixerCardProfile):
+ */
 const GList *
 gvc_mixer_card_get_profiles (GvcMixerCard *card)
 {
@@ -281,6 +286,10 @@ sort_profiles (GvcMixerCardProfile *a,
         return -1;
 }
 
+/**
+ * gvc_mixer_card_set_profiles:
+ * @profiles: (transfer full) (element-type GvcMixerCardProfile):
+ */
 gboolean
 gvc_mixer_card_set_profiles (GvcMixerCard *card,
                              GList        *profiles)
index 78de6b3e627ace9b886f3044bfe687c45384cc3e..f35954ad54fffe201aec80f1e613129bfad022d7 100644 (file)
@@ -508,6 +508,11 @@ gvc_mixer_stream_change_port (GvcMixerStream *stream,
         return GVC_MIXER_STREAM_GET_CLASS (stream)->change_port (stream, port);
 }
 
+/**
+ * gvc_mixer_stream_get_ports:
+ *
+ * Return value: (transfer none) (element-type GvcMixerStreamPort):
+ */
 const GList *
 gvc_mixer_stream_get_ports (GvcMixerStream *stream)
 {
@@ -526,6 +531,10 @@ sort_ports (GvcMixerStreamPort *a,
         return -1;
 }
 
+/**
+ * gvc_mixer_stream_set_ports:
+ * @ports: (transfer full) (element-type GvcMixerStreamPort):
+ */
 gboolean
 gvc_mixer_stream_set_ports (GvcMixerStream *stream,
                             GList          *ports)
index 75444b6551473af132f5b3c4f65e0b375fbb5e67..0455f42b4426209fcd1b6dd0e781818cc03ca75d 100644 (file)
@@ -1051,7 +1051,7 @@ _gather_pid_callback (GDesktopAppInfo   *gapp,
 /**
  * shell_app_launch:
  * @timestamp: Event timestamp, or 0 for current event timestamp
- * @uris: List of uris to pass to application
+ * @uris: (element-type utf8): List of uris to pass to application
  * @workspace: Start on this workspace, or -1 for default
  * @startup_id: (out): Returned startup notification ID, or %NULL if none
  * @error: A #GError